home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Positioning of ProxyShape < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.4 KB  |  [TEXT/ttxt]

  1. Subject:     Positioning of ProxyShape
  2. Sent:        3/27/96 1:29 AM
  3. Received:    3/28/96 8:30 AM
  4. From:        Steinar Tyvand, Steinar.Tyvand@si.sintef.no
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I'm using the CProxyShape class of ODFDraw to show an embedded frame. I use
  9. CProxyShape::MapShape to position the proxyshape at specified location in my
  10. embedding frame (top, centre, bottom). When I store and read back my part,
  11. the positioning is not persistent, but the embedded frame shows up in the
  12. top-left corner of the embedding frame. The selection shape (the four
  13. handles) is shown in the saved position. It seems that the shape of the
  14. proxy and the position of the embedded frame is not syncronised. When I use
  15. the CProxyShape::MapShapefunction to move the shape, they get syncronised
  16. again. How do I get the embedded frame in the right position when I launch
  17. my document?
  18.  
  19. Steinar Tyvand
  20. --------------------------------------------------------------
  21. Steinar Tyvand             e-mail: Steinar.Tyvand@si.sintef.no
  22. SINTEF Unimed Rehab        Phone:  +47 22 06 78 29 (work)
  23. Box 124 Blindern           Fax:    +47 22 06 79 09 (work)
  24. N-0314 Oslo                Phone:  +47 67 56 17 79 (home)
  25. Norway                     Fax:    +47 67 56 05 36 (home)
  26. --------------------------------------------------------------
  27.